From 3b9c1eaafcb32293a01ebd67edd54f4c573df56f Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Fri, 30 Jan 2009 23:43:20 +0000 Subject: [PATCH] (mark_stack): Properly conditionalize previous change. --- src/ChangeLog | 4 ++++ src/alloc.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 386f6c51888..48b689c641f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-01-30 Dan Nicolaescu + + * alloc.c (mark_stack): Properly conditionalize previous change. + 2009-01-30 Juanma Barranquero * w32inevt.c (w32_console_read_socket) [SYNC_INPUT]: diff --git a/src/alloc.c b/src/alloc.c index 1be5e2b8f1d..c150157ee05 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -4488,7 +4488,8 @@ mark_stack () needed on ia64 too. See mach_dep.c, where it also says inline assembler doesn't work with relevant proprietary compilers. */ #ifdef __sparc__ -#ifdef __sparc64__ +#if defined (__sparc64__) && defined (__FreeBSD__) + /* FreeBSD does not have a ta 3 handler. */ asm ("flushw"); #else asm ("ta 3"); -- 2.30.2